/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Pathology Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20189 (C-0-T19465-S20096-S20189-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPathologyProviderCodes()
 * @model extendedMetaData="name='PathologyProviderCodes'"
 * @generated
 */
public enum PathologyProviderCodes implements Enumerator {
	/**
	 * The '<em><b>207Z00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207Z00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_207Z00000X(0, "_207Z00000X", "207Z00000X"),

	/**
	 * The '<em><b>207ZP0101X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0101X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0101X(1, "_207ZP0101X", "207ZP0101X"),

	/**
	 * The '<em><b>207ZP0102X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0102X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0102X(2, "_207ZP0102X", "207ZP0102X"),

	/**
	 * The '<em><b>207ZB0001X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZB0001X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZB0001X(3, "_207ZB0001X", "207ZB0001X"),

	/**
	 * The '<em><b>207ZP0104X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0104X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0104X(4, "_207ZP0104X", "207ZP0104X"),

	/**
	 * The '<em><b>207ZP0105X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0105X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0105X(5, "_207ZP0105X", "207ZP0105X"),

	/**
	 * The '<em><b>207ZC0500X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZC0500X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZC0500X(6, "_207ZC0500X", "207ZC0500X"),

	/**
	 * The '<em><b>207ZD0900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZD0900X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZD0900X(7, "_207ZD0900X", "207ZD0900X"),

	/**
	 * The '<em><b>207ZF0201X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZF0201X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZF0201X(8, "_207ZF0201X", "207ZF0201X"),

	/**
	 * The '<em><b>207ZH0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZH0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZH0000X(9, "_207ZH0000X", "207ZH0000X"),

	/**
	 * The '<em><b>207ZI0100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZI0100X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZI0100X(10, "_207ZI0100X", "207ZI0100X"),

	/**
	 * The '<em><b>207ZM0300X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZM0300X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZM0300X(11, "_207ZM0300X", "207ZM0300X"),

	/**
	 * The '<em><b>207ZP0007X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0007X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0007X(12, "_207ZP0007X", "207ZP0007X"),

	/**
	 * The '<em><b>207ZN0500X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZN0500X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZN0500X(13, "_207ZN0500X", "207ZN0500X"),

	/**
	 * The '<em><b>207ZP0213X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_207ZP0213X_VALUE
	 * @generated
	 * @ordered
	 */
	_207ZP0213X(14, "_207ZP0213X", "207ZP0213X");

	/**
	 * The '<em><b>207Z00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207Z00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207Z00000X
	 * @model literal="207Z00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _207Z00000X_VALUE = 0;

	/**
	 * The '<em><b>207ZP0101X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0101X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0101X
	 * @model literal="207ZP0101X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0101X_VALUE = 1;

	/**
	 * The '<em><b>207ZP0102X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0102X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0102X
	 * @model literal="207ZP0102X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0102X_VALUE = 2;

	/**
	 * The '<em><b>207ZB0001X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZB0001X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZB0001X
	 * @model literal="207ZB0001X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZB0001X_VALUE = 3;

	/**
	 * The '<em><b>207ZP0104X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0104X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0104X
	 * @model literal="207ZP0104X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0104X_VALUE = 4;

	/**
	 * The '<em><b>207ZP0105X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0105X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0105X
	 * @model literal="207ZP0105X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0105X_VALUE = 5;

	/**
	 * The '<em><b>207ZC0500X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZC0500X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZC0500X
	 * @model literal="207ZC0500X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZC0500X_VALUE = 6;

	/**
	 * The '<em><b>207ZD0900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZD0900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZD0900X
	 * @model literal="207ZD0900X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZD0900X_VALUE = 7;

	/**
	 * The '<em><b>207ZF0201X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZF0201X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZF0201X
	 * @model literal="207ZF0201X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZF0201X_VALUE = 8;

	/**
	 * The '<em><b>207ZH0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZH0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZH0000X
	 * @model literal="207ZH0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZH0000X_VALUE = 9;

	/**
	 * The '<em><b>207ZI0100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZI0100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZI0100X
	 * @model literal="207ZI0100X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZI0100X_VALUE = 10;

	/**
	 * The '<em><b>207ZM0300X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZM0300X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZM0300X
	 * @model literal="207ZM0300X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZM0300X_VALUE = 11;

	/**
	 * The '<em><b>207ZP0007X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0007X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0007X
	 * @model literal="207ZP0007X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0007X_VALUE = 12;

	/**
	 * The '<em><b>207ZN0500X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZN0500X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZN0500X
	 * @model literal="207ZN0500X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZN0500X_VALUE = 13;

	/**
	 * The '<em><b>207ZP0213X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>207ZP0213X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_207ZP0213X
	 * @model literal="207ZP0213X"
	 * @generated
	 * @ordered
	 */
	public static final int _207ZP0213X_VALUE = 14;

	/**
	 * An array of all the '<em><b>Pathology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PathologyProviderCodes[] VALUES_ARRAY =
		new PathologyProviderCodes[] {
			_207Z00000X,
			_207ZP0101X,
			_207ZP0102X,
			_207ZB0001X,
			_207ZP0104X,
			_207ZP0105X,
			_207ZC0500X,
			_207ZD0900X,
			_207ZF0201X,
			_207ZH0000X,
			_207ZI0100X,
			_207ZM0300X,
			_207ZP0007X,
			_207ZN0500X,
			_207ZP0213X,
		};

	/**
	 * A public read-only list of all the '<em><b>Pathology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PathologyProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Pathology Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologyProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PathologyProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pathology Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologyProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PathologyProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Pathology Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PathologyProviderCodes get(int value) {
		switch (value) {
			case _207Z00000X_VALUE: return _207Z00000X;
			case _207ZP0101X_VALUE: return _207ZP0101X;
			case _207ZP0102X_VALUE: return _207ZP0102X;
			case _207ZB0001X_VALUE: return _207ZB0001X;
			case _207ZP0104X_VALUE: return _207ZP0104X;
			case _207ZP0105X_VALUE: return _207ZP0105X;
			case _207ZC0500X_VALUE: return _207ZC0500X;
			case _207ZD0900X_VALUE: return _207ZD0900X;
			case _207ZF0201X_VALUE: return _207ZF0201X;
			case _207ZH0000X_VALUE: return _207ZH0000X;
			case _207ZI0100X_VALUE: return _207ZI0100X;
			case _207ZM0300X_VALUE: return _207ZM0300X;
			case _207ZP0007X_VALUE: return _207ZP0007X;
			case _207ZN0500X_VALUE: return _207ZN0500X;
			case _207ZP0213X_VALUE: return _207ZP0213X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PathologyProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PathologyProviderCodes
